package com.moana.buyTicket.entity;

import java.io.Serializable;
import java.sql.Date;

import javax.jdo.annotations.Column;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;


@PersistenceCapable(table="M_LOGN_FLOW")
public class LoginFlow implements Serializable{
 
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@PrimaryKey
	@Column(name="ML_ID")
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Integer id;
	
	@Column(name="ML_LASTTIME")
	private Date lastTime;
	
	//登陆状态（0：正常；1：失败)
	@Column(name="ML_STATUS")
	private Integer status;
	
	@Column(name="ML_MESSAGE")
	private String message;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getLastTime() {
		return lastTime;
	}

	public void setLastTime(Date lastTime) {
		this.lastTime = lastTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
	public String toString() {
		return "LoginFlow [id=" + id + ", lastTime=" + lastTime + ", status="
				+ status + ", message=" + message + "]";
	}
	
	
}
